{foreach name="not_make" item="not" key="r"}
<div class="card user_order_card">
    <div class="card-header"><span>星期&nbsp;&nbsp;{$not['select_time']}</span>
        <a>{switch name="not['trial_status']"}
            {case value="1"}待审核{/case}
            {case value="2"}已通过{/case}
            {default /}不通过
            {/switch}</a>
    </div>

    <div class="card-content">
        <a {if condition="$not['trial_status'] neq 2"} 
            href="{:U('Users/user_expert_yuyue',array('id'=>$not['id']))}"
            {else/} 
            href="{:U('Apply/expert_page',array('id'=>$not['apply_id']['id']))}"
            {/if} >
            <div class="list-block media-list">
                <ul>
                    <li class="item-content">
                        <div class="item-media">
                            <img src="{$all['head_img']}" style="width:100px;" />
                        </div>
                        <div class="item-inner">
                            <div class="item-title-row">
                                <div class="item-title">{$all['name']}&nbsp;&nbsp;{$all['mobile']}</div>
                            </div>
                            <p style="font-size:12px;" class="color-gray">{$all['add_time']|date="Y-m-d",###}</p>
                            <p style="font-size:12px;" class="color-gray">5人已预约</p>
                        </div>
                    </li>
                </ul>
            </div>
        </a>
    </div>
    <div class="card-footer">
        <!--<span>￥<font>{$all['price']}</font></span><span>-->
        {if condition="$not['trial_status'] neq 2"} 
        <a style="display: inline-block;" href="{:U('Users/user_expert_yuyue',array('id'=>$not['id']))}" class="button button-fill" >修改</a></div>
    {else/}
    <a style="display: inline-block;" href="{:U('Apply/view_discuss',array('id'=>$not['id']))}" class="button button-fill" >查看预约</a> 
    <a style="display: inline-block;" href="{:U('Apply/expert_page',array('id'=>$not['apply_id']['id']))}" class="button button-fill" >查看详情</a></div>
{/if}
</div>
{/foreach}